package com.fy56.platform.goodsTracking.service;

import com.fy56.platform.goodsTracking.model.*;

import java.util.List;

/**
 * Created by XTK on 2016-11-21.
 */
public interface GoodstrackedRecordTopPublicService {
    List<GoodstrackedRecordTopPublic> selectByOrganizationcode(String organizationcode);

    List<GoodstrackedRecordTopPublic> selectByNotUpload(String organizationcode, String beginTime, String endTime);

    List<GoodstrackedRecordTopPublic> selectByNotUpload_Police(String organizationcode, String beginTime, String endTime);

    void updateByupload(GoodstrackedRecordTopPublic top);

    void updateTyCallback(String consignmentbillmasterid,String code,String message);

    /**
     * 回更派车记录是否真正成功
     * @param consignmentbillmasterid
     * @param code
     * @param message
     */
    void updateCarCallback(String consignmentbillmasterid,String code,String message);

    /**
     * 回更代收是否真正成功
     * @param consignmentbillmasterid
     * @param code
     * @param message
     */
    void updateDshkCallback(String consignmentbillmasterid,String code,String message);
    List<GoodstrackedRecordTopPublicF6> selectNotList(String organizationcode, String beginTime, String endTime) ;

    /**
     *
     * @param organizationcode
     * @param beginTime
     * @param endTime
     * @return
     */
    List<GoodstrackedRecordTopPublicF6> selectBuUploadList(String organizationcode, String beginTime, String endTime);
    List<TransportbillmasterPublic> selectCarNotUpload(String organizationcode, String beginTime, String endTime);
    List<TransportbillmasterPublic> selectCarNotUploadBC(String organizationcode, String beginTime, String endTime,int num);

    /**
     * 派车明细记录查询，上传数据用
     * @param transportBillMasterId
     * @return
     */
    List<TransportbillDetailsPublic> selectCarMxlist(String transportBillMasterId);

    List<CollectiongoodsvalueaccountPublic> selectCollectionMoneyNotUpload(String organizationcode, String beginTime, String endTime);
    List<CollectiongoodsvalueaccountPublic> selectCollectionMoneyNotUploadNew(String organizationcode, String beginTime, String endTime);
    List<CollectiongoodsvalueaccountPublic> selectCollectionMoneyNotUploadBC(String organizationcode, String beginTime, String endTime,int num);
    List<CollectiongoodsvalueaccountPublic>  dshkShanfu(String organizationcode, String beginTime, String endTime,int num);
}
